from fastapi import FastAPI, Request
import uvicorn

app = FastAPI()


@app.post("/send")
async def receive_message(request: Request):
    data = await request.json()
    print(" 收到消息：", data)
    return {"status": "ok"}

if __name__ == "__main__":
    uvicorn.run("mock_receiver:app", host="0.0.0.0", port=3000, reload=True)
